<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>  
    <title>用户修改</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<link rel="stylesheet" href="../css/vip.css" type="text/css">
    <script language=JavaScript src="../js/FoshanRen.js"></script>
    <script language=JavaScript src="../js/calendar.js"></script>
    <script type="text/javascript" src="../js/showNewDiv.js"></script>
    <link rel="stylesheet" type="text/css" href="../js/extjs/resources/css/ext-all.css"/>
   <script type="text/javascript" charset="utf-8" src="../js/extjs/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" charset="utf-8" src="../js/extjs/ext-all.js"></script>

   <s:head theme="xhtml"/>
   <sx:head parseContent="true"/>
</head> 
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  <s:form action="user_update" namespace="/admin/user" enctype="multipart/form-data"  method="post">
  <s:hidden name="typeid"/>
  <table id="tables" width="98%" border="0" cellspacing="1" cellpadding="3" align="center">
    <tr bgcolor="6f8ac4"> 
      <td colspan="2" ><font color="#FFFFFF">用户修改：</font></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">用户名  ：</div></td>
      <td width="75%"><s:textfield name="user.userName" value="%{user.userName}"/><font color="#FF0000">*</font></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">真实姓名 ：</div></td>
      <td width="75%"><s:textfield name="user.realName" value="%{user.realName}"/><font color="#FF0000">*</font></td>
    </tr>
    <s:hidden name="user.id" value="%{user.id}"/>
    <s:hidden name="user.password" value="%{user.password}"/>
    <tr bgcolor="f5f5f5"> 
      <td width="25%"> <div align="right">用户类型 ：</div></td>
      <td width="75%">
      <s:select name="user.userType" list="#{'null':'选择类型','ADMINISTRATOR':'管理员','SENIORUSER':'高级用户','COMMENUSER':'一般用户'}"  value="%{user.userType}"/><font color="#FF0000">*</font></td>
    </tr>
    <tr bgcolor="f5f5f5"> 
      <td colspan="2"> <div align="center"> 
          <input type="submit" class="frm_btn" value="提交">
          &nbsp;&nbsp;<input type="button" name="Button" value=" 返 回 " class="frm_btn" onclick="javascript:history.back()">
        </div></td>
    </tr>
  </table>
</s:form>
</body>
</html>